Time Based Driver Output Transition (Slew) Rate Compensation

ABSTRACT

Apparatus and method for controlling the driver output slew rate. The apparatus includes a driver circuit having an input signal and an output signal, where the driver circuit is structured and arranged to facilitate control of the slew rate of the output signal. A delay circuit having a time delay proportional to a desired transition time of the driver output signal is coupled to the output of the driver circuit. A first comparator detects when the driver output signal rises through a specified level, and a second comparator detects when the driver output falls through a second specified level. A phase detector is coupled to outputs of the first and second comparators and an output of the delay circuit for aligning the phases of the comparator outputs and the delayed comparator outputs by adjusting the driver output slew rate.

FIELD OF THE INVENTION

The invention generally relates to a method and apparatus to minimize driver output slew rate variation.

BACKGROUND OF INVENTION

Many of today's I/O driver specifications require very small output slew rate variation; particularly specifications for multi-I/O busses. Through network analysis, an optimal output edge rate can be determined to minimize Inter Symbol Interference (ISI) and signal propagation time, and thereby increase the maximum operating frequency of the system. Deviating from this optimal edge rate typically has unfavorable timing and signal integrity implications.

As is known among I/O and System designers, driver output slew rate variation is primarily a function of the driver circuit topology, varying operating conditions, such as voltage and temperature, silicon process variation and the particular application load network. As higher operating frequencies and stricter timing requirements have forced tighter output slew variation specifications, it has become necessary to actively compensate the driver to comply with these specifications and system requirements. Moreover, this class of timing and signal integrity problems will become even more pronounced in the future as both buss operating frequencies and silicon device parametric variations are expected to increase.

Current state of the art techniques to control slew rate variation utilize a concept known as “Process/voltage/temperature (PVT) Correlation.” The design engineer analyzes a circuit to determine the sensitivities and effect of PVT variation on a parameter of interest. In this situation, the parameter of interest is driver output slew rate. Once sensitivities have been determined, a reference circuit is designed such that an easily measurable variable, e.g., impedance, is affected by PVT variation in a manner that correlates reasonably well to the driver output slew rate. For example, assuming analysis shows the process variation of nFET transconductance has the largest, albeit not the only, effect on output slew rate, a sensing circuit would be designed to compare the transconductance of sample nFETs to an ideal reference in order to compensate the driver. However, first order parametric correlation is far from perfect and second relationships are completely ignored. Further, as the reference circuit is much less complex than the compensated circuit and measures a DC variable parameter to compensate a quasi-related AC variable parameter, the compensation is not optimum.

Operation of the suboptimum system works as follows. If the relative strength of the pull down is weak, the comparison of the voltage divider to the reference signal will present a logic ‘1’ to the controller which will in turn enable additional PVTx bits, adding nFET “fingers” and increasing the effective strength of the pull down. Conversely, if the relative strength of the pull down is strong, the comparison of the voltage divider to the reference signal will present a logic ‘0’ to the controller which will in turn disable additional PVTx bits, subtracting NFET “fingers” and decreasing the effective strength of the pull down. This process iterates until the voltage divider signal is equal to the reference voltage.

As discussed above, today's specifications require tight slew rate variation such that a reference circuit must be designed with DC sensitivity to PVT variation that closely mimics that of driver slew rate variation. Using these correlative techniques renders this task virtually impossible with the required degree of accuracy. Other deficiencies in this technique arise in that only one or two reference circuits are used to determine the PVT bit settings for potentially hundreds of drivers across the chip completely ignoring output slew variation caused by across chip, load and local power supply variation.

SUMMARY OF THE INVENTION

According to an aspect of the invention, the invention is directed to an apparatus for controlling the slew rate of a voltage driver circuit. The apparatus includes a driver circuit having an input signal and an output signal, where the driver circuit is structured and arranged to control the slew rate of the output signal. A delay circuit is coupled to an output of the driver circuit, where the delay circuit has a delay proportional to a desired target slew rate of the driver output signal. A first comparator for detecting when the driver output signal rises through a specified level, and a second comparator for detecting when the driver output falls through a second specified level are included. A phase detector is coupled to outputs of the first and second comparators and an output of the delay circuit for aligning the phases (voltage-time relationships) of the comparator outputs and the delayed comparator outputs by adjusting the driver output slew rate.

According to a further aspect, the invention relates to a process for controlling slew rate of a driver. The process includes establishing a time reference for target driver output transition time, measuring driver output transition time, comparing the measured transition time to the time reference, and compensating the driver based on an error signal proportional to a difference between the measured transition time and the time reference.

According to another aspect, the invention is directed to an apparatus for controlling an output of a voltage driver circuit. The apparatus includes a delay circuit connectable to an output of the driver circuit, where the delay circuit is tunable to establish a time reference. The apparatus also includes a device to measure the transition rate for the rising and falling edges of the driver output signal, a device to compare the measured transition rate to the time reference, and a control device structured and arranged to control an output slew rate of the driver.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 graphically illustrates the rise/fall slew parameters of interest according to aspects of the invention;

FIG. 2 schematically illustrates an accurate time reference in accordance with the invention;

FIG. 3 graphically illustrates an accurate driver output transition time measurement;

FIG. 4 illustrates a circuit for determining an accurate comparison of the measured transition time to the time reference;

FIG. 5 illustrates the controlled compensation of the driver;

FIG. 6 illustrates a driver coupled through charge pumps to the circuit depicted in FIG. 4;

FIG. 7 illustrates a plot of PBIAS and NBIAS as a function of time; and

FIG. 8 illustrates a plot of driver output (PAD) rise and fall time as a function of time.

DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION

The invention is directed to a method and apparatus to effectively minimize driver output slew rate variation. In accordance with the invention, the slew of each driver can be directly measured and controlled.

While the prior art PVT Correlation technique discussed above provides a certain degree of output slew rate compensation, it has been demonstrated in practice that when tight tolerances are required, this technique simply cannot deliver the required accuracy. The inventors have found that the major flaw in the correlation technique is that the parameter of interest, driver output slew rate, is indirectly compensated instead of actually being both measured and controlled directly. According to the invention, the controlled parameter is the measured parameter, and the control of the parameter requires a near perfect reference and measurement technique.

In accordance with the invention, a circuit is provided to implement the technique to sample/measure, compare and control driver output rise/fall time. In this regard, FIG. 1 graphically depicts the rise/fall slew rate of a driver's output. The driver output rise/fall slew has unit of volts/time, and, in accordance with the invention there are three components of interest: a high reference voltage VREFH, a low reference voltage VREFL, and the time for the signal to transition between those two points Trise and Tfall. As shown in FIG. 1, when the high and low references VREFH and VREFL are accurately fixed, transition time becomes the only measured variable. Further, to control transition time according to the invention, it is particularly advantageous to include an accurate time reference, an accurate driver output transition time measurement, an accurate comparison of the measured transition time to a time reference, and a controlled compensation of the driver using a direct feedback technique.

An accurate time reference in accordance with the invention is schematically illustrated in FIG. 2. As shown, a Delay Lock Loop (DLL) with a delay line 20 can be used to provide a virtually PVT independent time reference. The DLL is advantageous in that it is a self-compensating circuit. As shown in FIG. 2, the duration of pulse 21 of the signal IN corresponds to the desired rise time of the driver output and the duration of pulse 22 of the signal OUT corresponds to the desired fall time of the driver output, both of which correspond to the propagation delay through the DLL. The specifics of DLL design are generally known, such that no further disclosure of DLL design is necessary. Delay line 20 of the invention is tunable such that the propagation delay time Tprop through the DLL is selected to equal or exactly match the desired transition time for the driver output rise/fall.

As an example, if a required transition rate for the driver output rise/fall is 1V/ns and difference between the predefined high and low voltage references is 1V, i.e., VREFH−VREFL=1V, then the required Trise/fall=1 ns. In this instance, delay line 20 would be tuned so the propagation time through the DLL is 1 ns, i.e., Tprop=1 ns.

It is further advantageous to perform an accurate driver output transition time measurement. As discussed above, an analog signal can be generated that contains transition rate information represented entirely by the duration or width of the pulse. Thus, it is possible to construct an individual signal whose pulse width is equal to the rise and fall time. As shown in FIG. 3, signals L and H capture the PAD transition times through voltage references VREFH and VREFL. The rise/fall time information is stored in the time difference between the edges of signals L and H. The absolute position in time of signals L and H is of little consequence as long as the latency through both comparators is matched. Further, minimizing the magnitude of the latency, e.g., through comparators (discussed below), reduces the effect of delay mismatching on the accuracy of the measurement.

A circuit 40 for determining an accurate comparison of the measured transition time to the time reference is illustrated in FIG. 4. This circuit is used to measure the rising and falling transition times, compare the measured transition times to the delay line time reference (i.e., Tprop) and develop digital error signals representing the results of the comparison. In an effort to simplify explanation of the invention, only the operation of the circuit 41 for comparing the falling edge waveform will be discussed in detail. Operation of the circuit 42 for comparison of the rising edge waveform is identical in principle to the falling edge comparison circuit.

The circuitry and waveforms for the falling edge comparison utilize the upper half of the circuit depicted in FIG. 4. The circuit utilizes the signal L, the inverse of signal L (LBAR) and the inverse of signal H after the delay line (HBARDEL) to determine the logical state of digital error signal FSDEC. At the input to circuit 40, a PAD signal is connected to the “+” input of operational amplifier 43L, while the “−” input of operational amplifier 43L is coupled to low voltage reference VREFL in order to determine (in time) the pad transition through each reference signal (level). Thus, the falling transition of signal L is triggered by the falling transition of PAD through voltage reference VREFL. Further, the PAD signal is connected to the “+” input of operational amplifier 43H, while the “−” input of operational amplifier 43H is connected to high voltage reference VREFH in order to determine (in time) the pad transition through each reference signal (level). The output of operational amplifier 43L generates signal L, which is input into a latch element 44 of a phase detector 440, and signal L is likewise inverted by inverter 45 to generate signal LBAR, which is also input into latch element 44 of phase detector 440. The output of operational amplifier 43H generates signal HBAR, which is input into delay line 46 to generate the signal HBARDEL, delayed by an amount equal to Tprop, which is the propagation delay through the delay line. As a result, the rising transition of signal HBARDEL is triggered by the falling transition of PAD through voltage reference VREFH. Signal HBARDEL is input into latch element 44. Similarly, in circuit 42 which compares the rising edge waveform, signal LBAR is the input to the delay line to form LBARDEL, which is delayed by an amount equal to Tprop.

Phase detector 440 is composed of latch elements 44 and 47, as well as elements 49 and 48, which form edge selection circuitry. The combination of these circuits creates a phase detector triggered by the falling edge of the driver data input. The result of the phase comparison (provided by the phase detector) is used to compensate the driver and eventually phase aligns signals HBARDEL and L, reducing the phase error to zero.

Thus, when signal L is phase aligned with signal HBARDEL, the falling transition time is equal to Tprop and the driver output transition rate has been successfully compensated.

Phase detector 440 provides a falling edge triggered digital error signal FSDEC that is the result of a comparison between time Tfall and the ideal reference transition time. Further, in order to sample the proper edge, a NAND gate 48 is arranged to receive HBARDEL and ABAR, where signal A is the data input signal to the driver, and ABAR is the inverse of signal A. The output of NAND gate 48 passes through various buffers 49 to align enable signals in order to produce the error signal at the output of the phase detector. Similarly, in circuit 42, the inputs to the NAND gate, i.e., LBARDEL and ABUFF are used for comparing the rising edge waveform, where ABUFF is a buffered version of driver data input signal A.

If the falling edge transition of signal L occurs after the rising edge transition of HBARDEL, signal FSDEC will transition to logic “1”, indicating a need for the feedback system to increase the falling edge PAD transition rate. If the falling edge transition of signal L occurs slightly before the rising edge of signal HBARDEL, signal FSDEC will transition to logic ‘0’ indicating a need for the feedback system to decrease the falling edge transition rate. When the driver output fall time has been adjusted to match Tprop, FSDEC will switch between logic “1” and “0” on subsequent PAD transitions. This repetitive switching behavior of FSDEC is a clear indicator that the system has converged on the target PAD falling edge transition rate.

Following the comparison of the measured transition time to the time reference, an adjustment of the driver, controlling the driver output slew rate, is effected. Through simulation, it has been determined the driver output slew rate is strongly related to the slew rate of the previous stage, typically called the pre-drive stage. In fact, a near perfect correlation between driver output edge rate and the edge rate of the pre-drive has been observed in practice. A preferred method to control the strength or slew rate of the pre-drive stage, uses an analog circuit approach. By controlling the current through the pre-drive stage using a “Current Limited Inverter” scheme, as depicted in FIG. 5, the output slew can effectively be controlled. The current limited inverter 50 is formed by a pair of pFETs 51 and 52 coupled to a pair of nFETs 53 and 54. The FETs are arranged in series between Vdd and ground, and a connection to an output stage is taken from the common drain node between pFET 52 and nFET 53. The gates of pFET 52 and nFET 53 are coupled to the driver input signal A. The gates of pFET 51 and nFET 54 are coupled to bias signals PBIAS and NBIAS, respectively, therefore pFET 51 and nFET 54 act as current sources. The bias signals (PBIAS and NBIAS) are generated by charge pumps (discussed below) to control the pFET and nFET current sources, thereby limiting the current through the pre-drive. Further, the charge pumps convert the digital error signals FSDEC and RSDEC resulting from the time comparison into analog signals PBIAS and NBIAS.

FIG. 6 illustrates the digital error signals FSDEC and RSDEC (output from circuit 40) that initiate accurate comparison of the measured transition time to the time reference depicted in FIG. 4. FSDEC and RSDEC are coupled to charge pumps 61 and 62, respectively. Charge pumps 61 and 62 utilize a typical bang-bang circuit topology to supply current pulses with fixed total charge. A separate charge pump is provided for each of two edge measurements. As discussed above, the PBIAS and NBIAS signals generated by charge pumps 61 and 62, are coupled to driver 63 to control the output slew rate. Charge pumps 61 and 62 have two inputs (clock, decrement) and one analog output voltage (PBIAS or NBIAS). The driver data input signal A, coupled to driver 63, is used as the charge pump clock. The outputs of each measurement circuit (FSDEC, RSDEC) are used as the charge pump decrement signals. Additionally, signal A is processed through an inverter to form signal ABAR. ABAR is processed through a buffer to form a buffered version of signal A as signal ABUFF. As shown, ABAR and ABUFF are utilized as respective clock inputs to charge pumps 61 and 62. If the decrement signal (FSDEC, RSDEC) is logic ‘1’ on the rising edge of the A signal, a small amount of charge is removed from a capacitor storing the bias voltage signal. If the decrement signal (FSDEC, RSDEC) is logic ‘0’ on the rising edge of the A signal, a small amount of charge is added to a capacitor storing the bias voltage.

A plot of PBIAS and NBIAS as a function of time is shown in FIG. 7. As illustrated, the system converges on the target rise/fall time. The compensation circuitry samples and compensates PBIAS/NBIAS while the driver continuously switches. When the system converges, the bias voltage varies minimally around the target operating point. As shown in FIG. 7, from time 0 ns to 170 ns the feedback system compensates in the reverse direction (as expected). This occurs during system startup due to the time required for the DLL/Delay line to lock on the target propagation delay (Tprop).

A plot of the driver output (PAD) rise and fall time as a function of time is illustrated in FIG. 8. The vertical scale is in picoseconds and horizontal scale is microseconds. Time “Target” represents the target driver output rise and fall time. “Rising edge” represents the measured driver output rise time, while “Falling edge” represents the measured driver output fall time. The driver continuously switches and the compensation circuitry samples and compensates on every PAD transition which permits adjustment to a changing load. For the particular PVT corner modeled in this analysis, the rise time is compensated to within picoseconds of the target. The fall time, is within the target by approximately 20 picoseconds.

In accordance with a detailed circuit model of the invention, the system can control driver output rise/fall time within ±100 ps. Contributions to this tolerance value result from the delay line variations, delay skew between the amplifiers that sense the PAD transitions through reference voltages (VREFL and VREFH), and variation in reference voltages (VREFL and VREFH). Additionally, the phase detector switch point does depend on PVT.

While the invention has been described in terms of particular circuit embodiments, those skilled in the analog circuit art will recognize that the invention can be practiced with modifications and in the spirit and scope of the appended claims. 

1-7. (canceled)
 8. A process for controlling slew rate of a driver, comprising: establishing a time reference for target driver output transition time; measuring driver output transition time; comparing the measured transition time to the time reference; and compensating the driver based on an error signal proportional to a difference between the measured transition time and the time reference by adjusting the driver output transition time to the time reference, whereby the driver output transition time corresponds to an output transition rate of a prior stage; adjusting a driver slew rate by controlling current through the prior stage with a current limited inverter scheme that includes two current sources; converting, with respective charge pumps, two digital error signals resulting from the comparing of the measured transition time to the time reference into two analog signals; and biasing each of the two current sources with a respective one of the two analog signals, wherein each respective charge pumps is arranged for each edge measurement.
 9. The process in accordance with claim 8, wherein the time reference comprises a delay locked loop with a delay line.
 10. The process in accordance with claim 9, further comprising tuning circuit elements of a delay line to correspond to the driver output transition time.
 11. The process in accordance with claim 8, further comprising adjusting for a changing load. 12-20. (canceled) 